Is there anyway you could do a tutorial on how to save a QTableWidget to an excel format? I have been watching a ton of your tutorials, and they all are great. I am using PyQt5 though, and there are some good differences between that and PyQt4 that I am still figuring out.
Thank you for all you do with this site and tutorials.
-JRuehs
You must be logged in to post. Please login or register an account.
I have no idea if this is even possible, or if you'd need to do this in some sort of custom way. I've not used the qtable widget to any large degree.
You could try to get it converted somehow to a pandas dataframe, then do df.to_excel possibly.
-Harrison 7 years ago
You must be logged in to post. Please login or register an account.
I'm actually going to convert from a QTableWidget to a QTableView. Big difference in how the information is stored. In the widget it is stored in the widget while the view is just a portal to view the data from a variable. A big upside to that as it allows greater formatting options for what I need, some date formats, some price formats.
Thank you for the response though.
-JRuehs 7 years ago
You must be logged in to post. Please login or register an account.